#include<stdio.h>

struct A
{
    int a;
    int b;
};

int main()
{
    struct A s1;

    struct A s2;

    printf("s1.a的地址%p，s1.b的地址%p,差值%p\n",&s1.a,&s1.b,&s1.b-&s1.a);

    printf("s2.a的地址%p，s2.b的地址%p，差值%p\n",&s2.a,&s2.b,&s2.b-&s2.a);

    return 0;
}
